package com.zgjkhis.modules.system.service.impl;

import com.zgjkhis.common.service.impl.BaseServiceImpl;
import com.zgjkhis.modules.system.domain.InfoSalesDate;
import com.zgjkhis.modules.system.domain.vo.InfoSaleVo;
import com.zgjkhis.modules.system.service.InfoSalesDateService;
import com.zgjkhis.modules.system.service.mapper.InfoSalesDateMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName InfoSalesDateServiceImpl
 * @Author yxl
 * @Date 2023/2/22 下午3:08
 **/
@Service
public class InfoSalesDateServiceImpl extends BaseServiceImpl<InfoSalesDateMapper, InfoSalesDate> implements InfoSalesDateService {
    @Override
    public List<InfoSaleVo> findAllByDate(String pharmacyId, String startDate, String endDate) {
        return this.baseMapper.findAllByDate(pharmacyId, startDate, endDate);
    }
}
